{% extends "mainapp/base.html" %}

{% load static %}
{% load bootstrap %}

{% block title %} 批次产品信息管理 {% endblock %}


{% block content %}

<h1 class="mb-4">确认删除</h1>
        <p>你确定要删除以下产品信息吗？</p>
        <table class="table table-bordered">
            <thead class="thead-dark">
            <tr>
                <th>生产批次号</th>
                <th>产品类型</th>
                <th>报告编号</th>
                <th>报告日期</th>
                <th>客户名称</th>
                <th>订单号码</th>
                <th>出货批次号</th>
                <th>规格型号</th>
                <th>批量</th>
                <th>方向角度</th>
                <th>投料角度</th>
                <th>频率范围</th>
            </tr>
            </thead>
            <tbody>
                <tr>
                    <td>{{ product.h_lot_number }}</td>
                    <td>{{ product.h_product_type }}</td>
                    <td>{{ product.report_number }}</td>
                    <td>{{ product.report_date }}</td>
                    <td>{{ product.customer_name }}</td>
                    <td>{{ product.order_number }}</td>
                    <td>{{ product.production_lot_number }}</td>
                    <td>{{ product.specification_model }}</td>
                    <td>{{ product.lot_quantity }}</td>
                    <td>{{ product.direction_angle }}</td>
                    <td>{{ product.feeding_angle }}</td>
                    <td>{{ product.frequency_range }}</td>
                </tr>
            </tbody>
        </table>
        <form method="post">
            {% csrf_token %}
            <button type="submit" class="btn btn-danger">删除</button>
            <a href="{% url 'product_batch_info_list' %}" class="btn btn-secondary">取消</a>
        </form>
{% endblock %}